package com.haihui.platform.service.impl.sys;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.haihui.platform.dao.sys.CemeteryCostSetDao;
import com.haihui.platform.entity.CemeteryCostSet;
import com.haihui.platform.service.sys.CemeteryCostSetService;

@Service
public class CemeteryCostSetServiceImpl implements CemeteryCostSetService{

	@Autowired
	private CemeteryCostSetDao cemeteryCostSetDao;

	public List<CemeteryCostSet> list(CemeteryCostSet cem){
		return cemeteryCostSetDao.list(cem);
	}

	public Integer add(CemeteryCostSet cemeteryCostSet){
		return cemeteryCostSetDao.add(cemeteryCostSet);
	}

	public Integer update(CemeteryCostSet cemeteryCostSet){
		return cemeteryCostSetDao.update(cemeteryCostSet);
	}

	@Override
	public Integer count(CemeteryCostSet cem) {
		return cemeteryCostSetDao.count(cem);
	}

	@Override
	public CemeteryCostSet detail(CemeteryCostSet cem) {
		return cemeteryCostSetDao.detail(cem);
	}

	@Override
	public Integer delete(CemeteryCostSet cem) {
		return cemeteryCostSetDao.delete(cem);
	}

}